//
//  ViewController.h
//  QingTengGaoXiao
//
//  Created by 沈煜航 on 2018/10/3.
//  Copyright © 2018年 QingTeng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "schoolView.h"
#import "individualView.h"
#import "talkView.h"

@interface ViewController : UIViewController

#pragma 视窗outlet

@property (weak, nonatomic) IBOutlet UILabel *headTitleLabel;
@property (weak, nonatomic) IBOutlet UIButton *retuenButton;
//在这个view里放软件显示的主要内容，通过xib进行替换内容
@property (weak, nonatomic) IBOutlet UIView *mainView;
//底部的三个按钮
@property (weak, nonatomic) IBOutlet UIButton *schoolButton;
@property (weak, nonatomic) IBOutlet UILabel *schoolButtonLabel;
@property (weak, nonatomic) IBOutlet UIButton *individualButton;
@property (weak, nonatomic) IBOutlet UILabel *individualButtonLabel;
@property (weak, nonatomic) IBOutlet UIButton *talkButton;
@property (weak, nonatomic) IBOutlet UILabel *talkButtonLabel;
@property (weak, nonatomic) IBOutlet UIButton *starButton;

#pragma 按钮action

//返回按钮的action
- (IBAction)returnButtonAction:(UIButton *)sender;
- (IBAction)starButtonAction:(UIButton *)sender;

//三个底部button共同的action，通过传入的sender的tag来区别。school为1，individual为2，talk为3
- (IBAction)actionOfButtonsInBottom:(UIButton *)sender;



@end

